<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/layouts/taglib.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>用户反馈</title>
		<%@ include file="/WEB-INF/layouts/index-header.jsp" %>
	</head>
	<body>
		<div class="tpanel">
			<div class="panel-content">
				<div class="container-fluid">
					<div id="tool">
						<form id="searchForm" class="form-inline" onsubmit="return search('#searchForm','#table')"
							  style="margin-top:20px;margin-bottom:20px;">
							<div class="form-group">
								<label class="">用户名：</label>
								<input type="text" name="search_LIKES_name" class="form-control" />
							</div>
							<div class="form-group">
								<button type="submit" class="btn btn-primary radius">
								  <span class="glyphicon glyphicon-search"></span> 查询
								</button>
							</div>
						</form>
					</div> 
					<table id="table"></table>
				</div>
			</div>
		</div>

		<script type="text/javascript">
            window.parent.changeTitle('用户反馈');
        $(function() {
            $('.form_datetime').datetimepicker({
                language : 'zh-CN',
                autoclose : true
            });
            $('#table').bootstrapTable({
                url: '${ctx}/admin/advice/list',
                idField : 'id',
                striped : true,
                uniqueId : 'id',
                /*checkbox : true,*/
                /*clickToSelect : true,*/
                queryParams : queryParams,
                responseHandler : responseHandler,
                columns: [/*{
                    field: 'ck',
                    checkbox : true
                },*/{
                    title: '#',
                    width : 50,
                    align : 'center',
                    formatter: snFormatter
                },{
                    field: 'content',
                    title: '反馈',
                    align : 'center'
                },{
                    field: 'createdTime',
                    title: '提交时间',
                    align : 'center'
                }, {
                    field: 'username',
                    title: '用户名',
                    align : 'center'
                }, {
                    field: 'tel',
                    title: '电话',
                    align : 'center'
                }, {
                    field: 'email',
                    title: '邮箱',
                    align : 'center'
                }]
            });

        });


	</script>

	</body>
</html>
